package com.gd.coreservice.entity.vo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author testjava
 * @since 2024-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Admin对象", description="")
public class AdminVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "aid",type = IdType.ID_WORKER_STR)
    private String aid;

    private String username;

    private String password;

    private String phone;

    private String avatar;

    private Date time;
    @TableLogic
    private Boolean isDeleted;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    //以下非数据库字段
    private String token;
    @JsonIgnore
    private String newpassword;


}
